<?php include 'frame-top.php'; ?>


<script type="text/javascript" src="/library/fckeditor/fckeditor.js"></script>
<script type="text/javascript">
$("#editor").ready(function()
{
	var editor = new FCKeditor("Content");
	editor.BasePath = "/library/fckeditor/";
	editor.Config["CustomConfigurationsPath"] = "/pub/js/fckconfig.js?"+(new Date()*1);
	editor.Height = 460;
	editor.ReplaceTextarea();
});
</script>

<div class="segm" style="border-bottom:1px solid #ccc;">
	<h2>发布<?=$this->private?'对内通知：':'新闻：';?></h2>
</div>

<div class="segm">
<form method="post" action="/info/update">
<table class="notice">

	<tr><td width="10%">标题：</td>
		<td width="90%"><input type="text" value="<?=$this->data['Title'];?>" 
			name="Title" style="width:500px;" /></td>
	</tr>
	<tr><td valign="top">内容：</td>
		<td><textarea id="editor" name="Content"
				style="display:none;"><?=$this->data['Content'];?></textarea></td>
	</tr>
	<tr><td>&nbsp;</td><td></td></tr>
	<tr><td><input type="hidden" name="Private" value="<?=$this->private;?>" />
			<input type="hidden" name="NId" value="<?=$this->nid;?>" /></td>
		<td><input type="submit" value="Submit" /></td>
	</tr>

</table>
</form>
</div> <!-- end of course -->

<?php include 'frame-bottom.php'; ?>
